#include <QGuiApplication>
#include <QQmlApplicationEngine>

#include "MGCApplication.h"

int main(int argc, char *argv[])
{
    QCoreApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);

    MGCApplication* app = new MGCApplication(argc, argv);
    Q_CHECK_PTR(app);

    app->_initCommon();

    if (!app->_initForNormalAppBoot())
    {
        return -1;
    }

    return app->exec();
}
